package com.heima.admin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.model.admin.dto.SensitiveDto;
import com.heima.model.admin.pojo.AdSensitive;
import com.heima.model.common.dtos.ResponseResult;

/**
 * @author TheCai
 * @version 1.0
 * @date 2021/5/24 11:27
 */
public interface AdSensitiveService extends IService<AdSensitive> {
    //敏感词分页列表
    ResponseResult list(SensitiveDto dto);
    //敏感词新增
    ResponseResult insert(AdSensitive adSensitive);
    //敏感词修改
    ResponseResult amend(AdSensitive adSensitive);
    //敏感词删除
    ResponseResult deleteById(Integer id);
}
